package com.health.scheduling.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.health.common.annotation.Excel;
import com.health.common.core.domain.BaseEntity;

/**
 * 排班对象 medical_appointment_schedule
 *
 * @author ruoyi
 * @date 2025-10-30
 */
public class MedicalAppointmentSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约排班ID */
    private Long scheduleId;

    /** 医生ID */
    @Excel(name = "医生ID")
    private Long doctorId;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String doctorName;

    /** 可预约最大数量 */
    @Excel(name = "可预约最大数量")
    private Long maxCapacity;

    /** 开始时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "开始时间", width = 20)
    private String startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "开始时间", width = 20)
    private String endTime;

    /** 排班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduleDate;

    /** 预约费用 */
    @Excel(name = "预约费用")
    private BigDecimal appointmentFee;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setScheduleId(Long scheduleId)
    {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId()
    {
        return scheduleId;
    }

    public void setDoctorId(Long doctorId)
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId()
    {
        return doctorId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public void setMaxCapacity(Long maxCapacity)
    {
        this.maxCapacity = maxCapacity;
    }

    public Long getMaxCapacity()
    {
        return maxCapacity;
    }

    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public String getStartTime()
    {
        return startTime;
    }

    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public String getEndTime()
    {
        return endTime;
    }

    public void setScheduleDate(Date scheduleDate)
    {
        this.scheduleDate = scheduleDate;
    }

    public Date getScheduleDate()
    {
        return scheduleDate;
    }

    public void setAppointmentFee(BigDecimal appointmentFee)
    {
        this.appointmentFee = appointmentFee;
    }

    public BigDecimal getAppointmentFee()
    {
        return appointmentFee;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("scheduleId", getScheduleId())
                .append("doctorId", getDoctorId())
                .append("doctorName", getDoctorName())
                .append("maxCapacity", getMaxCapacity())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("scheduleDate", getScheduleDate())
                .append("appointmentFee", getAppointmentFee())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}